<!--
 * @Description: 
 * @Author: zhangwei
 * @Date: 2023-03-17 21:23:52
 * @LastEditTime: 2023-03-18 13:24:09
 * @LastEditors: zhangwei
-->
<script lang="tsx">

import { defineComponent, } from 'vue'

export default defineComponent({
  name: 'ZwLabel',
  props: {
    schema: {
      type: Object,
      default: function () {
        return {}
      }
    },
    value: [String, Number, Boolean]
  },

  setup(props) {
    let styleObj = {};

    return () => (
      <div style={styleObj}>{ props.value }</div>
    )
  }
})
</script>

<style lang="less" scoped></style>